package com.dragon.backstage.domain.vo.user;

import com.dragon.backstage.domain.vo.role.RoleVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 用户模块-授权角色列表VO
 *
 * @author dragon
 * @version 1.0
 * @date 2024/8/8 18:22
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(title = "用户模块-授权角色列表VO")
public class UserAuthRoleVo extends RoleVo {

    /**
     * 用户是否拥有角色 true:是 false:否
     */
    @Schema(title = "用户是否拥有角色 true:是 false:否")
    private Boolean isOwn;

}
